let arr=[
    {
      title: "自个",
      links: [
        {
          title: "NNWS",
          descr: "网站管理/反向代理设置/nginx",
          icon: "nnws.png",
          href: "https://nnws.xiaoshuigua.com/login.html",
          _class: "",
        },
        {
          title: "服务器管理webssh",
          descr: "Express-proxy前端",
          icon: "server.png",
          href: "https://ssh.xiaoshuigua.com/login.html",
          _class: "l-green",
        },
        {
          title: "云笔记",
          descr: "分布式安全笔记",
          icon: "notebook.png",
          href: "https://note.xiaoshuigua.com",
          _class: "l-org",
        },
      ],
    },
    {
      title: "开发工具",
      links: [
        {
          title: "gitee",
          descr: "gitee首页",
          icon: "gitee.png",
          href: "https://gitee.com/",
          _class: "l-red",
        },
        {
          title: "JSON格式化",
          descr: "JSON视图工具",
          icon: "json.png",
          href: "https://www.bejson.com/jsonviewernew/",
          _class: "",
        },
        {
          title: "百度翻译",
          descr: "翻译，不翻墙",
          icon: "fanyi.png",
          href: "https://fanyi.baidu.com/",
          _class: "",
        },
        {
          title: "vscode在线",
          descr: "可以直接加载github的仓库",
          icon: "vscode.png",
          href: "https://vscode.dev/",
          _class: "",
        },
        {
          title: "polkadot浏览器",
          descr: "polkadot官方浏览器",
          icon: "polkadot.webp",
          href: "https://polkadot.js.org/apps/",
          _class: "",
        },
        {
          title: "npmjs",
          descr: "npm包搜索",
          icon: "npm.webp",
          href: "https://www.npmjs.com/",
          _class: "",
        },
        {
          title: "小纸条",
          descr: "网盘搜索",
          icon: "xzt.png",
          href: "https://ali.gitcafe.ink/",
          _class: "",
        },          
        {
          title: "fontawesome",
          descr: "fa开头的图标库",
          icon: "font-awesome.png",
          href: "https://fontawesome.com.cn/v4/icons",
          _class: "",
        },
        {
          title: "iconfont",
          descr: "阿里巴巴图标库",
          icon: "iconfont.png",
          href: "https://www.iconfont.cn/",
          _class: "",
        }
      ],
    },
    {
      title: "AI",
      links: [
        {
          title: "文心一言",
          descr: "百度的大语言模型",
          icon: "yiyan.png",
          href: "https://yiyan.baidu.com/",
          _class: "",
        },
        {
          title: "POE",
          descr: "AI工具集合",
          icon: "poe.svg",
          href: "https://poe.com/",
          _class: "",
        },
        {
          title: "通答AI导航",
          descr: "国云出品",
          icon: "ai.png",
          href: "https://app.tongdaai.com/",
          _class: "",
        },
      ],
    },
    {
      title: "在线文档",
      links: [
        {
          title: "Ant UI",
          descr: "React.js UI库",
          icon: "antd.png",
          href: "https://ant-design.gitee.io/components/overview-cn/",
          _class: "l-org",
        },
        {
          title: "Element UI",
          descr: "vue2.0 UI库",
          icon: "element.svg",
          href: "https://element.eleme.cn/#/zh-CN/component/installation",
          _class: "",
        },
        {
          title: "Vant",
          descr: "vue2.0移动端UI库",
          icon: "vant.png",
          href: "https://vant-contrib.gitee.io/vant/v2/#/zh-CN/quickstart",
          _class: "",
        },
        {
          title: "Momentjs",
          descr: "moment API文档",
          icon: "time.png",
          href: "http://momentjs.cn/docs/",
          _class: "",
        },
        {
          title: "Animate.css",
          descr: "CSS动画库",
          icon: "an.png",
          href: "https://www.dowebok.com/demo/2014/98/",
          _class: "",
        },
        {
          title: "零代码",
          descr: "导航",
          icon: "0.png",
          href: "https://lingdaima.com/",
          _class: "",
        },
      ],
    },
  ];
  let fs=require('fs');
  fs.writeFileSync('data.json',JSON.stringify(arr,null,2));
